package com.xinruke.hostels.reservation.interfaces.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @ClassName RoomInfoVO
 * @CreateDate 2019/7/1
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 房间信息VO
 */
@ApiModel("房间信息VO")
@Data
public class RoomInfoVO {
    @ApiModelProperty(value = "房型id")
    private Integer fangxingId;

    @ApiModelProperty(value = "房型名称")
    private String fangxingmingcheng;

    @ApiModelProperty(value = "房间id")
    private Integer fangjianId;

    @ApiModelProperty(value = "房间号")
    private String fangjianhao;

    @ApiModelProperty(value = "优惠价")
    private BigDecimal youhuijia;

    @ApiModelProperty(value = "门店价")
    private BigDecimal mendianjia;

    @ApiModelProperty("预定人信息集合")
    private List<BookerInfoVO> bookerInfoVOList;

    @ApiModelProperty(value = "预抵时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ruzhushijian;

    @ApiModelProperty(value = "预离时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date likaishijian;

}
